|
|
|
|
OnPartClicked Method, SftTabs Class |
Raises the PartClicked event.
Syntax SftTabs Class (Softelvdm.SftTabsNET)
VB |
Protected Overridable Sub OnPartClicked( _ |
C# |
protected virtual void OnPartClicked( |
C++ |
protected: virtual void OnPartClicked( |
e
The event data.
reason
The reason code for this event.
Value |
Description |
|
0 | The size and position of visible objects is requested. | |
1 | Rendering is requested. | |
2 | A mouse button down event must be handled. | |
3 | A mouse button double-click must be handled. | |
4 | A mouse button release must be handled. | |
5 | A mouse cursor movement must be handled. | |
6 | The dimensions of an object are requested. |
Comments
The OnPartClicked method raises the PartClicked event.
Raising an event invokes the event handler through a delegate.
The OnPartClicked method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
When overriding OnPartClicked in a derived class, make sure to call the base class's OnPartClicked method so that registered delegates receive the event.